package com.hxzy.mapper;

import com.hxzy.controller.admin.dict.req.DictTypeExportIdsReq;
import com.hxzy.controller.admin.dict.req.DictTypeReq;
import com.hxzy.controller.admin.dict.resp.DictTypeResp;
import com.hxzy.entity.SysDictType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author admin
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Mapper
* @createDate 2024-02-21 11:30:41
* @Entity com.hxzy.entity.SysDictType
*/
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    /**
     * 分页查询
     * @param req
     * @return
     */
    List<DictTypeResp> search(@Param(value = "req") DictTypeReq req);

    /**
     * 导出excel
     * @param ids
     * @return
     */
    List<DictTypeResp> exportExcel(@Param(value = "ids") Long[] ids);
}




